﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RPGServer
{
    public class RPGFight
    {
        public uint Id;
        public bool IsFinished;

        public RPGObject[] Force1;
        public RPGObject[] Force2;


        public RPGFight()
        {
            Force1 = new RPGObject[10];
            Force2 = new RPGObject[10];
            IsFinished = false;
        }
    }

    public class RPGObject
    {
        public uint PlayerId;
        public uint ObjectId;
        public ushort HP;
        public ushort MP;
        public bool IsPlayer;
        public bool IsPet;
        public ushort STR;
        public ushort AGI;
        public ushort VTI;
        public ushort DEF;

        // 动作相关,如果这2个都为0代表还没有执行操作
        public uint TargetObjectId;
        public uint TargetPlayerId;
        public byte Action;

        public RPGPlayer Player;
    }
}
